package sketch.main;

import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;


public class TestSketchValidatorTest extends TestCase {
	
	public static Test suite() {
		return new TestSuite(TestSketchValidatorTest.class);
	}
	
	public void testValidateIllegalSketch() {
		String path = "./testfiles/sketch/main/IllegalSketch.java";
		TestSketchValidator validator = new TestSketchValidator(path);
		String[] error_messages = validator.validate();
		for(String err_msg : error_messages) {
			System.out.println(err_msg);
		}
		assertEquals(5, error_messages.length);
	}
}